package cn.agiledata.bank.netReturn.logic;

import java.math.BigDecimal;

public class NetReturnBean {

	private String orderId;
	
	private BigDecimal amount;

	public BigDecimal getAmount() {
		return amount;
	}

	public void setAmount(BigDecimal amount) {
		this.amount = amount;
	}

	public String getOrderId() {
		return orderId;
	}

	public void setOrderId(String orderId) {
		this.orderId = orderId;
	}
	
	public NetReturnBean(String orderId, BigDecimal amount){
		this.orderId = orderId;
		this.amount = amount;
	}
	
	public NetReturnBean(String orderId, Double amount){
		this.orderId = orderId;
		this.amount = new BigDecimal(amount.doubleValue());
	}
}
